//
//  UIViewController+MYBackButtonHandler.h
//  JQLive
//
//  Created by Bruce on 2020/4/17.
//  Copyright © 2020 mlqk. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol BackButtonHandlerProtocol <NSObject>
 
@optional
 
/**
 重写下面的方法以拦截导航栏返回按钮点击事件，返回 YES 则 pop，NO 则不 pop
 @return <#return value description#>
 */
-(BOOL)navigationShouldPopOnBackButton;
 
@end


@interface UIViewController (MYBackButtonHandler)<BackButtonHandlerProtocol>

@end

NS_ASSUME_NONNULL_END
